-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
IContextualOptions`2.xml
89 lines (89 loc) · 5.67 KB
/
IContextualOptions`2.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<Type Name="IContextualOptions<TOptions,TContext>" FullName="Microsoft.Extensions.Options.Contextual.IContextualOptions<TOptions,TContext>">
<TypeSignature Language="C#" Value="public interface IContextualOptions<TOptions,TContext> where TOptions : class where TContext : IOptionsContext" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract beforefieldinit IContextualOptions`2<class TOptions, (class Microsoft.Extensions.Options.Contextual.IOptionsContext) TContext>" />
<TypeSignature Language="DocId" Value="T:Microsoft.Extensions.Options.Contextual.IContextualOptions`2" />
<TypeSignature Language="VB.NET" Value="Public Interface IContextualOptions(Of TOptions, TContext)" />
<TypeSignature Language="F#" Value="type IContextualOptions<'Options, 'Context (requires 'Options : null and 'Context :> IOptionsContext)> = interface" />
<TypeSignature Language="C++ CLI" Value="generic <typename TOptions, typename TContext>
 where TOptions : class where TContext : IOptionsContextpublic interface class IContextualOptions" />
<AssemblyInfo>
<AssemblyName>Microsoft.Extensions.Options.Contextual</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<TypeParameters>
<TypeParameter Name="TOptions">
<Constraints>
<ParameterAttribute>ReferenceTypeConstraint</ParameterAttribute>
</Constraints>
</TypeParameter>
<TypeParameter Name="TContext">
<Attributes>
<Attribute FrameworkAlternate="net-8.0;net-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(0)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(0)>]</AttributeName>
</Attribute>
</Attributes>
<Constraints>
<InterfaceName>Microsoft.Extensions.Options.Contextual.IOptionsContext</InterfaceName>
</Constraints>
</TypeParameter>
</TypeParameters>
<Interfaces />
<Attributes>
<Attribute FrameworkAlternate="net-8.0;net-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.NullableContext(1)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.NullableContext(1)>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<typeparam name="TOptions">The type of options being requested.</typeparam>
<typeparam name="TContext">A type that defines the context for this request.</typeparam>
<summary>
Provides functionality to retrieve configured <typeparamref name="TOptions" /> instances.
</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName="GetAsync">
<MemberSignature Language="C#" Value="public System.Threading.Tasks.ValueTask<TOptions> GetAsync (in TContext context, System.Threading.CancellationToken cancellationToken);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance valuetype System.Threading.Tasks.ValueTask`1<!TOptions> GetAsync([in]!TContext context, valuetype System.Threading.CancellationToken cancellationToken) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Extensions.Options.Contextual.IContextualOptions`2.GetAsync(`1@|System.Runtime.InteropServices.InAttribute,System.Threading.CancellationToken)" />
<MemberSignature Language="VB.NET" Value="Public Function GetAsync (context As TContext, cancellationToken As CancellationToken) As ValueTask(Of TOptions)" />
<MemberSignature Language="F#" Value="abstract member GetAsync : 'Context * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask<'Options (requires 'Options : null)>" Usage="iContextualOptions.GetAsync (context, cancellationToken)" />
<MemberSignature Language="C++ CLI" Value="public:
 System::Threading::Tasks::ValueTask<TOptions> GetAsync(TContext& ^ context, System::Threading::CancellationToken cancellationToken);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Extensions.Options.Contextual</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Threading.Tasks.ValueTask<TOptions></ReturnType>
<Attributes>
<Attribute FrameworkAlternate="net-8.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(new System.Byte[] { 0, 1 })]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(new System.Byte[] { 0, 1 })>]</AttributeName>
</Attribute>
</Attributes>
</ReturnValue>
<Parameters>
<Parameter Name="context" Type="TContext">
<Attributes>
<Attribute FrameworkAlternate="net-8.0;net-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.IsReadOnly]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.IsReadOnly>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="cancellationToken" Type="System.Threading.CancellationToken" />
</Parameters>
<Docs>
<param name="context">The context that will be used to create the options.</param>
<param name="cancellationToken">The token to monitor for cancellation requests.</param>
<summary>
Gets the configured <typeparamref name="TOptions" /> instance.
</summary>
<returns>A configured instance of <typeparamref name="TOptions" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>